<? $pi = pathinfo($_SERVER['SCRIPT_NAME']); ?>
			<nav>
				<br /><br />
					<a href="index.php" <? if($pi['filename']=='index'){?>class="selected"<? } ?>>Home</a>
					<a href="links.php" <?if($pi['filename']=='links'){?>class="selected"<?}?>>Links</a>
					<a href="pictures.php" <?if($pi['filename']=='pictures'){?>class="selected"<?}?>>Pictures</a>
					<a href="about.php">About</a>
					<br />
			</nav>

